package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.po.DmsPatient;
import com.ruoyi.system.domain.po.DmsPatientExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DmsPatientMapper {
    long countByExample(DmsPatientExample example);

    int deleteByExample(DmsPatientExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DmsPatient record);

    int insertSelective(DmsPatient record);

    List<DmsPatient> selectByExample(DmsPatientExample example);

    DmsPatient selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DmsPatient record, @Param("example") DmsPatientExample example);

    int updateByExample(@Param("record") DmsPatient record, @Param("example") DmsPatientExample example);

    int updateByPrimaryKeySelective(DmsPatient record);

    int updateByPrimaryKey(DmsPatient record);
}